package com.web.base.core.model;

import com.blue.core.dict.State;
import com.blue.core.tree.ITreeItem;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

@Table(name = "base_area")
public class Area implements ITreeItem
{
	@Id
	private Integer id;
	private Integer parentId;
	private String carCode;
	private String name;
	private State state;

	public Area()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getParentId()
	{
		return parentId;
	}

	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}

	public String getCarCode()
	{
		return carCode;
	}

	public void setCarCode(String carCode)
	{
		this.carCode = carCode;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

}
